Undefined symbol ':Fonts' detected since 7.x

Hi, I have an app where for resolution 416 and 454, I load a specific, higher resolution font. This app compiled fine in CIQ before 7.x. I tried compiling with 7.1.1 and all watches with a resolution other than 416 and 454 fails with

Undefined symbol ':Fonts' detected

The lines that fail are:

if (Rez.Fonts has :montserrat) {
  _font_montserrat=Ui.loadResource(Rez.Fonts.montserrat);

All these watches have no 'fonts.xml" file so I created an empty one

<fonts>
</fonts>

That also didn't work.

Anybody know how I can fix this? Like i said, this compiled fine until 7.x

Thanks.