Added a new version of AutoRebuild to the first post that should automatically work with mods. Not thoroughly tested, but one of the things I did notice is it doesn't show the rebuild toggle for Haplo's PowerSwitch (although it does rebuild it when destroyed).
Edit: I think the reason it doesn't show the rebuild toggle for PowerSwitch is if a thing has buttons of itself, it doesn't display buttons from components. Which also explains why buttons from components don't show on pawns.