build: fix detection of boost libs on multi-arch distros

Fixes #3219.
docs: remove workaround instructions now that the problem is fixed
Merge pull request #3407

952fe2e docs: remove workaround instructions now that the problem is fixed (Cory Fields)
efdfee4 build: fix detection of boost libs on multi-arch distros (Cory Fields)