schema compile OPTIMIZE separate tasks performed only once

... which do not need to be performed for every
recompilation.
diff --git a/src/tree_schema.c b/src/tree_schema.c
index ac876d1..93f2979 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -832,7 +832,7 @@
     mod->implemented = 1;
 
     /* compile the schema */
-    LY_CHECK_RET(lys_compile(mod, 0, unres));
+    LY_CHECK_RET(lys_compile(mod, 0, 0, unres));
 
     /* new module is implemented and compiled */
     unres->full_compilation = 0;