Errors while building OpenMRS-CORE

Thanks @ibacher This works just fine build successful.