add some missing exits on configure failure.