Added C++11 flags on compiler