Fix rpath issue on Linux