More stringent testing of OSX BSD like behavior. Fix BSD mis-detection on OSX depending on include order.
Fix some doc typos as reported by Michel Morin. (fixes #9209)