build: Change "#!/bin/bash" to "#!/usr/bin/env bash"
On some systems (NixOS observed in this case), we can't rely on
static paths to an interpreter for a shebang line. This change
uses the env
command to find the correct path for bash, making
it more portable among distributions.