[OS X] Fix compilation with Clang

With this, it's possible to get a Namecoin.app, but it freezes after the splash screen.