Current dispatcher in Fat runtime is handled by CREATE_DISPATCHER macro:
https://github.com/VectorCamp/vectorscan/blob/develop/src/dispatcher.c
This should be converted to a function table and the check should be done only on first run or initilization of the library.