Fix compatibility sed