fixed a few minor warnings (noexcept) and moved cmake to c++11 compiler