TS-2382: sudo make install creates man files as root in build tree
Re-enable -Werror for developer builds

-Werror is supposed to be enabled by default during the development
cycle (see TS-1786). --enable--werror defaults to enabled if the
version ends in "-dev", but the "-dev" suffix was lost during the
last release cycle.