Clean up build Makefile. Move temp files to current directory.