Fix (TARGET_DEVICE) > {TARGET_DEVICE}