fix cwd when called from haxelib