Configuration improvements

Should adapt better to different types of OpenCV installations (e.g.
from pre-compiled binaries or local builds). Should default to correct
OpenNI 2 address. Changes untested on UR10-PC.