Avoid bash-specific test syntax in Makefile.