If build dirs are empty the inputfiles were not found.
Support shadow build.
Merge pull request #1 from quinte17/fixbuild

If build dirs are empty the inputfiles were not found: using the path $$PWD to retrieve the file names (that is needed, when shadow build is enabled in QtCreator).