Improved compatibility with libc++ for unary operations