build: Fix headers install for shared mode on Windows
Fix headers install for shared mode on Windows.
Note that config_gypi_path
is used relative to the working dir in the main part of the script, but is later resolved according to root-dir when trying to use it again later in the script, so I made the path to it absolute.