build: add node_use_openssl check to install.py
When configuring --without-ssl and then running make install openssl headers will be copied from deps/openssl to the target installation directory.
This commit adds a check for is node_use_openssl is set in which case the headers are not copied.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
build