Add nodejs-legacy to libjs-jquery build dependencies