Compile on Mac OS X 10.8.2

I recently upgraded from Mac OS X 10.7.something to 10.8.2.
I then wasn't able to compile leveldown - this fixes that.