fix rpath issue on linux