correctly depend on dispatch.h