Added more robust check for pip and virtualenv
Merge pull request #201 from inclement/dist_fixes

Added more robust check for pip and virtualenv