Fix all build errors.