Fix ancient bash syntax on OS X #54