Update dependency libs, fix some deprecated warnings.