[build] Fixed Makefile to work on non-bash shells.