Optimal control of Tollmien-Schlichting waves in a developing boundary layer