strgrp: Fix compile errors in example