make window build OK