Make it run on mac os x