Turns a mixed case string into lower using C++