altered polly.c to be windows compatible