build: make python bindings optional.