Macosx support.
Merge branch 'master' of https://github.com/s0dz/3DGameEngine