Fix the makefile so that it works in useless shells

Closes #19