fix condition in Makefile