Fix bad python 2.6 detection