fix build on FreeBSD
doc: mention recent build system patch
Merge branch 'v7-stable'