[extensions][offset] Fix compilation errors