allow building of gpgsql/lua/mydnsbackend, plus yahttp, when boost is in a non-standard location. Fixes #1521