Autodetect correct version of Chaiscript and C++11 support.