Wrapped stub code in an #if that detects Windows.