Added check for OpenNI in CMakeLists.txt (fixed bug 982).