fix build for libirc