Fix failing tests on Linux

A recent change was too Windows specific.  This fixes that
problem, essentially by reverting the change functionally
#if __MonoCS__.