[DROOLS-462][DROOLS-477] fix incremental compilation when using included KieBases