Optimize Makefile