some makefile upgrades