Check for absence of python 2.7

Instead of checking if we have 2.6, check if we *don't* have 2.7, because 3.0+ also causes issues