adding missing liblegacy to test program dependencies

This linking problem shows only if configured with

  --disable-static-libs
  --with-lib-ext=".so"
  --with-make-lib-cmd="gcc -shared -o"
adding missing implementation of operator=(const NmssmSoftsusy&)