static freenect linking cleanup