[build] some makefile cleanup