Add rebuild.sh

Reference: http://zewaren.net/site/?q=node/125