fix ifdeffery for 4front OSS