Update build scripts to use Semantic Versioning where required
Update main build script to accept prerelease version prefix