Make `pip` version check slightly more robust

* Also, don't require `python-dev` debian package