Fix cyclic dependencies when using --configure
This resolves #16809 (closed) (#16809 (closed)).
This patch removes the unnecessary dependency on configure-generated
flags windowsHost
, osxHost
and iosHost
, using the information
provided by the module System.Info
instead.
We also take care to use the CrossCompiling
flag generated by the
configure script only after the latter had a chance to run.