Port to the Mac platform