Aerodynamic inverse design of airfoils in two dimensional viscous flows