Fixed a minor bug that prevented compilation of the sample.

The sample did not build on Xcode 6.1 / OSX 10.9 due optional chaining of non optional.