build: fix out of tree builds.