fn detect_self_contained_mingw(sess: &Session) -> bool