Explicitly link against dependency versions known to work.