[IO] ::tolower created issues with g++4.8, using std::tolower version