Fixed issue with check_zlib.m4 being crap

Turns out that it prevents compiling code with GCC not in /usr if zlib
is in there!