main/knot: fix shared modules
Added --with-moduledir path param so it is able to find shared modules. Otherwise the module path is empty and _module function is useless.
Added --with-moduledir path param so it is able to find shared modules. Otherwise the module path is empty and _module function is useless.