Python3.4, fix lib python3 issues