Fixing "const" potential error in Ubuntu 11.10.