[Build] Improve Makefile.