Fixing compilation issue after change in icon registry api