(read_makefile): Check for a shell command first, and then strip leading