Favor the BSD structs for Ubuntu 12.04