Remove some check for c++11 compliance and change some libraries checking to work with Apple