Fixing Library dependencies