Apply std=c++11 only to the VM build

Ran into a problem backporting the LLVM 3.5 support to 2.2.10: Melbourne 2.1.0.0 is not C++11-compatible, and adding -std=c++11 to the system_cxxflags also causes it to apply to gems.