fix a few things in the install script so ant_on_air can work with it
fix a few things in the install script so ant_on_air can work with it

greg-dove/flex-asjs,greg-dove/flex-asjs,greg-dove/flex-asjs,greg-dove/flex-asjs