linuv: fix mac os x issue