irc and some cmake fixes