* building sub-system: --disable-so now sets -static among LDFLAGS if using
  a gcc compiler. Plus misc fixes.