LINKFORSHARED is broken; replace with python-config

As discussed in https://github.com/Homebrew/homebrew-science/issues/5198, it appears that LINKFORSHARED is broken and should instead be replaced with python-config so that graph-tool can be built for Python 3.6.