Merge pull request #5150 from tom-cosgrove-arm/serialise-builds-of-archives-on-windows_2.x

Backport 2.x: Serialise builds of the .a files on Windows