move cxx version check to after we install compiler upgrade
fixup C++11 compilation, thanks to duncan_shriek/roland_ on irc
add a CXX11 build to travis