Make changes to compile dfhack with clang on OS X

Crashes spectacularly.