Add support for uploading native libraries

RESOLVES: https://issues.jenkins-ci.org/browse/JENKINS-25080