updated deb build script to manage correct version