There's better patch suggested by upstream developer: https://savannah.nongnu.org/bugs/download.php?file_id=18929 Works fine for me. https://savannah.nongnu.org/bugs/index.php?27781#comment1: Please try the attached patch instead. It uses Ocaml exception handling in case of an error and saves the handling of the if-then code in your patch.