os x compile scripts