Lifting homotopy algebra maps to algebra maps