Use isWindows to determine correct system linkage.

One more host macro down, and another fix for cross compilers.