Fix build fail #1118