fixed compile error if the openni2_driver package is used instead of the ubuntu package