make the "--enable-staticlib" configure flag actually do something

whether stress actually works when built as a static library like this
remains untested