Fix Mac build error.