a fix for windows compilition