Wrap windows related imports in a try/except to properly handle module loading