anykernel: add support for modules dir