Fix activator script when running in Git Bash

Fixes issue #587