fix rpath issue under linux