Better mimic library version management in sample