I am trying to install freenect2 library for linux. I followed this guide https://github.com/OpenKinect/libfreenect2 and managed to complete all the steps and install libfr