Ensure the lib directory is created properly.

Change-Id: Idfd318f58b376b0de8a47dd92326d4209122e653
Reviewed-on: http://gerrit.dmdirc.com/2737
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager