build: build opt to set local location of headers
Some linux distroes install headers through their package managers. When headers are locally installed we'd like them to be used.
Add a build time configuration option --use-prefix-to-find-headers that will will suggest to node-gyp to look for headers based on the prefix
A PR to node-gyp will use this value when building addons to automatially find and use the headers if they have been installed locally
PR to node-gyp that leverages this - https://github.com/nodejs/node-gyp/pull/2964
PR to node-gyp landed so this should be good to go as well - https://github.com/nodejs/node-gyp/pull/2964
CI: https://ci.nodejs.org/job/node-test-pull-request/56998/
CI: https://ci.nodejs.org/job/node-test-pull-request/57023/
Landed in 9936d4586dcf