As part of the ESE project we use functionality declared in wiredtiger_ext.h header. It is also part of the normal wiredtiger public headers.
We should simply make sure we generate a wiredtiger_ext.h file and copy it as part of the build process similar to what we do for wiredtiger.h.