Fixed shared library path when compiling for debug