Wrote a C++98-compatible alltoupper function