Switched on c++11 compilation in order to make enum classes more
naturally strongly typed