Fix bug with python 3.4 build