Makefile: shadow build support. also, some cleaning