Move tolower() etc to ctype.h as per ISO C