Partial fix for build in different dir
Merge branch 'master' of github.com:psi-im/psi