Update to 4.1.0 and fix build on 10.0, grabbed from here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192545