fix configure script, part 2