Use a temporary file to process libraries, rather than the command-line