fix virtualenv nondetection on Windows

Credit for the spot goes to schlamar on github.