libc++ compliance fix

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