fix path bug in configure