scripts: build.sh appends .exe on Windows [GH-397]