Fixed some old dependency issues and some relinking that was giving errors when building the package.