Configured Makefiles to avoid building unnecessary stuff