added c++11 compiler flags