build: install node and static library headers

fixes #5112