[bootstrap] clean up code syntax.

* Remove unused variables (e.g. symlink_dir)
* Rename variables (e.g. symlink_dest -> target)