fixing gymanager crash on windows and launching from gybuilder