[packaging] Add versions to some build dependencies