Fix python binding compile errors #23

Just the minimal amount of work needed to make test.py work again