Unknown type name 'MAV_CMD' , Herelink Custom Qgroundcontrol

Hi all! I am trying to get the custom build of the herelink qgroundcontrol running, but I get the error: unknown type name ‘MAV_CMD’ , code is taken from here GitHub - CubePilot/qgroundcontrol-herelink . The normal build is working, just the custom one not. Does anyone know which actions should be taken to make it work? Thanks!