[BISERVER-12154] Fix build problem on code calling endpoint method direc...

...tly