fixing 3dloader for osx