Use qualified path name for qmake on different build dir

GNU Autotools have support of separate build directory. So, we can build most part of graphviz like
```sh
mkdir build
cd build
../configure
make
```
However, qmake does not recognize the situation and it misses input files without path. $(top_srcdir) can't work, so @top_srcdir@ is used here.