added c++11 check