Precompile before restart