Makefile: optimizations