Handle CANNOT_DUMP (partially) with configure.