minor windows fixes