OS-1966 fix DEBUG build