Doc: Fix build documentation, adjust it to 1.7.

Fixes #2365