Bug #2005, Modify unit test to check system OS before building DSN