Add 'const' to fix compiler warning (fixes #11)