A semi-Lagrangian level set method for structural optimization