Create a #define that initializes a static WT_CURSOR and use it.