Replace the build script with a Makefile