Use grand central dispatch on os x