fixed out-of-sources build
Merge pull request #1 from ottxor/master

fixed out-of-sources build. Thanks!