improve recipe for os x