Create temp dir already in generate-sources phase to have it be available even if the compile fails at first