Add a couple missing includes to the pc-softwaremanager main.cpp for the getuid() function. This might be what is causing the random seg-faults on some systems where the AppCafe was installed via pkg.