walkaround for compile in os x