graph-tool: add support for --with-python3