[Dovecot] Error compiling on Solaris 10