fix build bug with virtualenv/pip under windows