Fix command existence test, see the following link:
http://lists.gnu.org/archive/html/bug-make/2010-08/msg00000.html and its
explanation:
http://lists.gnu.org/archive/html/bug-make/2010-08/msg00001.html