When -stdlib=x is specified in CMAKE_CXX_FLAGS this passes it along so that the correct include dirs are detected.