Fix by editing src/mod_cband.c line 63 to test for __solaris:

#if defined(__solaris) || defined(__sun__)