Replace build.sh with Makefile.