Makefile: fix global variables