Only use static on Windows