Align with PlatformDarwin.coffee

Signed-off-by: Bao Zhen <bz@infthink.com>