make python bindings compile

And here is what I had to change to get the Python bindings to compile.