Search for rm, and substitute it. Avoids assumption that make