This IFDEF is wrong, it's HAS_UNIT_SYSTEM_UITYPES that should be used. Furthermore, it should be placed before JVCL units, right after MultiMon, so that there is no need for the ugly "comma in front" construct.