fix next-node build and use sha512 from coreutils