Fix proper build issues for python-bindings.