[FIX] fix autowrap to also run with Python 2.6