Fixes package management problems