Avoid bash-specific test syntax in Makefile.
Merge pull request #323 from hjoliver/sh-compat-makefile

Avoid bash-specific test syntax in Makefile.