libembroidery cleanup, fixes for c89 compilation, and update libembroidery Visual Studio solution