Mac fixes

I had to make these changes to get IIBoost running on my Mac.