Fixed compilation with Pubilc Preview build.
(cherry picked from commit fe6781f)