libc++ compliance fix, Mavericks 10.9 fix

Fixes compilation in OSX 10.9 and it can be linked to libc++ instead.