#3311 added library versioning and exposed it to pycaffe but matcaffe needs a similar property for version checking.