Making some changes to allow this to compile under cygwin

Fixing shebang of genreflex.py script to work with bash because cygwin does not come with a c shell installed (csh) by default anymore