Added C++11 flag to cmake