Fixes to bundle a standalone MashtaMotion.app under OSX with USE_DEBUG=OFF