If STATEMACHINE_EXPORT_EXTRA is set, then export extra functions.