Fix out-of-tree build.