makefile: fix typos and minor errors