Apply patch from https://rt.cpan.org/Public/Bug/Display.html?id=54267 and fix Apple compiler warning
Version bump for freebsdn support