enable MACOSX_RPATH
-stdlib=libc++ is available only in clang
explicit enable language cxx in cmake project command