libfreenect: generalizing lib reference (resolves #185)