Updated to get version number from CyVersion instead of deprecated property.

Change-Id: Id174e76e7e4dcb13234776b68752360637ceb96e