gyp, test.bash, test.bat: fix build with new 3rdparty/gyp.