the build script has to be executed by bash

The build.sh script is not POSIX-compliant so it shouldn't rely on /bin/sh being Bash, but it should explicitly ask to be executed by Bash.
Merge branch 'master' of https://github.com/hazelcast/hazelcast
code review fixes 2