Adjust compilation order so that UI module is compiled earlier