Fixed a minor bug that prevented compilation of the sample.