build: use portable Makefile variables