Compile to a temporary file first, then use install.