Shouldn't you replace the `buildOS /= Windows` check with `platformOS platform /= Windows`?