Fixed YSI compilation issue