Replace the build.sh script with a Makefile.