Adding version check hack to support OpenMRS 1.11