Fix an issue with strings in hash maps on OS X 10.5