Fix compilation on newer libircclient

I got a lot of undefined symbols without this include. It appears to be required on recent libircclient versions.