Prerelease

Minor update to the build script to allow building of pre-release versions (main repo only)