Added workaround for stdC++11 with g++4.7 on MacOSX
Added additional check for the -stdlib=libc++ option for clang
Added compiling with StdC++11 in the check_all