changes to compiler option on C++11