detect py(2) first

fixes #9, a real fix would fix the py3 implementation