hdr: always define NODE_WANT_INTERNALS

Otherwise the warning could be printed on some systems.

fix #8419