Fix compilation of openni2 on OS X 10.9.

See issue #10

Upstream openni apparently addresses this, so it should be ok to
remove the patch after the next openni release.