Update cmake files
update common.cmake to support C and C++ which fixes pthread on Ubuntu
FogBugz #10429: Update cmake files across sub-projects
More CMake cleanups