Bug fixed : Adding patches in make files to correct bug
jira : #MICA-1194