wscommon: add dependencies for LeNet