Fix non out-of-tree build.