Set the stdlib explicitly to libstdc++ for Maverick OSX since by default it assumes libc++