Fix MINGW_ROOT variable value computation when not being provided.