Make collector run on OSX