Removed c++11 checks to make it work on mac...