Python 2.6 compatibility fix for plan.pyx
Python 2.6 compatibility fix for openmp.py (subprocess.check_output new in 2.7)