fix build on mac + add host to command line parameters