Fixed errors on OS X 10.9: link against libc++ instead of libstdc++