minor improvements to makefile