Added a check before compiling sismo if twig.so is loaded