Minor build environment tweaks, to prevent a conflict between Powershell and %LIB% env var setting on Windows.