Change #!/bin/sh to #!/bin/bash in build-plugin.sh due to Bad substitution error on line 13