Makefile optimizations