Account for build corner cases

Account for build corner cases where tests run on Windows and OSX are
all built on a single platform and then run on the desired platform.

Note, nothing needs to ideally change if later the builds are actually
done where the tests are run.