more refactoring of the build files; now can run installer from windows and mac;