Fix for ASCII_LOWER_MAP visibility and deprecation warnings

I'm not sure I did the right thing (when is one ever sure though?), but the tests pass. :/