Changes to bin/dev script to make it compatible with Windows msysgit shell

Windows bash doesn't seem to support regex match operator. Rewrote it to use grep instead. Tested on Windows 7 with msysgit shell (mingw).

Thanks,

Alex