Fixed Makefile sanity checking to work for all command line argument
variants.