Refactors build scripts to allow for version suffix for dev builds.