minor fixes to compile VW examples

Both of them fail with segmentation faults