Fixed 2 warnings (Building with -Weverything -O3)

"tolower" gives off recursive macro warning, so just replaced it
And added diagnostic push & pop to ignore warning for stdin
I only use clang, so if it doesn't build with gcc, I can't help