Fixed a hang on build errors.