Factor out engines that are commands on PATH.

They were too similar. Puts us 24 lines down and super DRY.