Simplify package dependency definitions a bit in case of multiple versions