fix configure problem