build websockets as shared library for LGPL2