Fix pythonVERSION-config instead of python-config-VERSION.
Add imap_server_encoding option to the imapfdw.