fix linux build, cleanup OS logic
Merge branch 'master' of github.com:opentrack/LibOVR