Fixed a compiler issue in OSX.
Merge pull request #83 from Antea/osx

Fixed a compiler issue in OSX.