Removed stdlib=libc++ from link options to make sure xcode can compile