fix configure in win