build: Improved shell script.
build: Explicitly defined the reference to make tag because appveyor

can set it with pull-request reference which does not exist
repository.
build: Incremented patch version,

to indicate that this fixes a bug.