clean up makefile and paper building