more accurate split of files into -webui and -lib packages