configure: Fix out-of-tree build