OSX fixes
Fix for legacy QT compatibility
Merge pull request #2 from vodkadrunkinski/master

OSX fixes