Fixed -Z print-link-args and functional-struct-update test on windows

This resolves issue #8569