Improvements to setup, haxelib resolution, etc