Make path checking more robust on windows.

Eliminates some useless warnings on Windows about PYTHONPATH.
Merge pull request #98 from prabhuramachandran/fix_bogus_warning

Make path checking more robust on windows.