Compile fix for osX.
Merge pull request #262 from gorthauer/master

Compile fix for osX.