Add sudo ldconfig to fix rpath issue.