package: detect darwin