Move Apple specific types to types_darwin.go to make them conditional