Fixed compilation of imap-2007f