quick fix for #488 (Lazy compilation pattern in ProgrammableOperator is not thread-safe and doesn't work in thread parallel engines). Synchronized lazy compilation of method.