a bit more env setup for mac