Fix warning when compiling for OS X
Merge pull request #79 from ConradIrwin/fix-warning

Fix warning when compiling for OS X