minimal fix for windows compilation