Makefile: Add some build optimizations.