Remove some check for c++11 compliance to work with Apple