Fix compilation error on MacOSX with missing const
Merge pull request #4 from pdeschen/patch-1

Fix compilation error on MacOSX with missing const