Fix build errors.