Update rebuild.sh (follows e1da8e)