Change #!/bin/sh to #!/bin/bash in build-plugin.sh

Without to do that, i get an error on line 13: Bad substitution.