tools: makefile build cleanups