The declares initially were not passed on, and I thought it was enough to just have them in system, but the prob is that the system header gets included in the other builds, and the symbols in the system header are defined independently for each lib. So I added the --hardware option to verify it in the node project.