Well using winelib would still be a compatibility layer. The only other solution would be to use GTK, however GTK is incredibly buggy under windows, and, to Windows users, it has a very un-userfriendly interface. There are plenty of great IRC clients for Linux, just use one of them.