scripts: use bash for build script
Merge pull request #1032 from jonboulle/fix_tests

scripts: use bash for build script