Stub windows only constants / methods in unit tests to work outside of Windows