Edit Makefile and build script