Fix ncm-aiiserver

 missing osinstalldir and nbpdir, retrieval of some information from ncm-ccm
(backported from master branch)