Fixing BOOST_NOEXCEPTION compilation problems. Setting c++11 flag in CMAKE.