Bootstrap: revert changes when second compile fails.