Fix build with Xcode 5, system checks, set LANGUAGE to CXX.