I do a mod for lenses that do not have the switch, using a short price of pltic tubbing to block the pin in the depressed mode. The other option is to get an M42 adaptor that has a flange to depress the pin when mounted, although note these do not work with lenses made for the Spotmatic F or ES II which have a little bump on the bottom. (specifically SMC taks)
If I find the photo I posted of the mod I will put a link here. Note the tube is about 1/8 inch ling (3 mm for the imperial impared) and I find the end of a ballpoint pen refil to be the perfect material