libc++ compatibility

It works with libc++ now. You can remove the patches when this PR gets merged => https://github.com/OpenNI/OpenNI2/pull/56