fixed core dump when no manfiest or shared library was provided