Fix compilation warnings in compose.c and init.c