fix f2c build
fix tab in .diff file
factor tmp_install
version formatting
save cwd/environ
fix builds