[NUI] Fix build error on NUI samples