Change ui compilation code to use system separator.