more makefile and env madness