solved build fail when uilayer not installed.