fix permission problem when running ./configure