add mac compatibility
1 file changed