fixed infinite loop bug on windows
Merge branch 'JackCup' of https://github.com/unc-compgeom/GISCup14_C into JackCup
initialize in separate line for my old compiler