fix broken tools/rebuild-pages url path

The toole/rebuild-pages url has broken.
MT class hasn't ``AdminScript`` method and ``$script_path`` is sandwiched between the slash, then output path is ``//mt//mt.cgi``.