Update Makefile

* Fix the hidden bashism and use /usr/bin/env instead