Minor fixes

 * Fixed case error that broke compilation with gcc/linux
 * Removed extern "C" from C source files that was breaking compilation with gcc/linux