fix configure cleaning