added building scripts for macx
added/improved windows build and installer scripts