fix build.sh for GNU/Linux
Use major.minor.micro for version number.