setup for compile on os x