Use ::tolower.