don't use static on darwin