Support python3.3+

Fixes #2