Change legacy compilation mode to on first web request after installation