Fix C compilation