Temporary workaround to get the OS X builds working at all. Still need to make Cog work there...