ENYO-2983 : modify the condition for mac

ENYO-DCO-1.1-Signed-off-by: Kiwook Shim <kiwook.shim@lge.com>
Merge pull request #607 from enyojs/ENYO-2983

ENYO-2983 : modify the condition for mac