Mac OS X compilation

I made some small changes to make falltergeist compile on my Mac.

This project looks awesome, I'll be watching it.