[mod] add some dependencies and useflags