Fixes package dependencies