Adding explicit cast to see if it helps compiler on CI server