configure: use relative paths for in-tree build