Fixed typo on Mac specific implementation