fix(client): compute platform headers without spawning a subprocess