Don't add -x c++ flag to compiler if we're on windows.