Added -W to makefile, small bug fix in zimcheck.cpp