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

So it doesn't affect gems. Probably more correct and makes backporting
LLVM 3.5 support to 2.2.10 easier.
Change check_program to accept arbitrary args
Multiple possible configurations for LLVM shared libs
Expose LLVM version in -v string.