Windows: Fork fixes