let make check work for out-of-tree builds
changes for 1.6.0