remove msghdr from osx
netbsd constant fix