enable some python3 compatibility options (#3)