Fixes build number issue and duplicate jars