Fixed path resolution in configure