Fix "Unable to resolve symbol: log-d in this context" error