Fix C compilation logging