Fix tests using virtualenv on Windows.

Do not hard code bin as the location of the executables, as this is not
correct on Windows.
Merge pull request #1254 from pfmoore/win-tests

Fix tests using virtualenv on Windows.