Fix make check for out-of-tree builds.
Merge pull request #361 from jimis/bug2190

Fix make check for out-of-tree builds.