Make weak module optional

This patch should allow dnode to install without weak, and operate without errors out of the box without the weak module present (basically the weak option does nothing).