fix out of tree build