Python 2.6 compatibility in setup.py

checkout_output appeared in subprocess in Python 2.7.