Fix build and package scripts to remove singlenode