Fix compilation error.

I think I now live in dependency hell. It is not a nice place.

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