Fixed build for python 3
Merge branch 'unstable' of github.com:rfloriano/gandalf-client into unstable