Small build and doc improvements

- Improve error reporting when missing boost libraries (avoid 'Could not link against' with the wrong library name)
- Add note about memory requirements for compilation
- Don't require db_cxx.h when wallet disable (Fix #3978)