Fix a few C compilation errors