Fix package dependencies & postinstall