Fixed bugs in makefile (i.e. wrong bash syntax).