[BZ-1153852] fix incremental compilation when using a drl with functions