fix makefile; allow make to use env vars