fix some compilation errors with extern "C" directives
latest project config files