Fix compile error resulting from outdated to_lower usage.
Merge pull request #4 from bdaehlie/fix-to-lower-compile

Fix compile error resulting from outdated to_lower usage.