[DROOLS-523] make incremental compilation to also update globals