fixed package dependencies

The package dependencies seemed to be missing and/or misplaced. Does this make more sense?