Simplify Makefile testing section.