Update dynamic lib path for rust