Move cleanup script to new location

I've moved the script to mk/macos since its not a general purpose tool (yet?)
and added conditional handling to try and make sure it only runs on what its
meant to.