Add -stdlib=libc++ to makefile options to build on OSX