Fix setup for mac