fix default compilation of param help as shared library