There is a platform, NixOS Linux, on which '/bin/bash' is not available. This commit changes the interpreter to '/usr/bin/env bash' in some scripts essential to firmware building.