add #if for building without EP support