Force the complier to treat all files as c++ source files. Fix version.c compile errors