checkDLL function

Check shared library (DLL/.so) of a compiled model.