Sync configure check for python with README.rst (2.5 -> 2.7)