ENYO-2983 : modify the condition for mac

ENYO-DCO-1.1-Signed-off-by: Kiwook Shim <kiwook.shim@lge.com>