fix building in windows, continued again
thought i just committed this.. i'm tired