Fix offlineimap on OS X