Remove spaces to adapt gnu v linux sed behaviour