Fix compilation of pc-firstbootgui on 10.x
Fix compilation of pc-installgui on 10.x
Fix compilation of pc-mounttray on 10.x
Fix compilation of pc-pkgmanager on 10.x
Fix compilation of pc-servicemanager on 10.x
Try to fix compilation of pc-sounddetect on 10.x - this one is a fair bit more hairy and could benefit from another set of eyes.