Compilation commands use and remove temporary files. Fixes bug