Correct gui build when builddir is not srcdir
Merge pull request #242 from ynsta/master

Correct gui build when builddir is not srcdir