Minor cleanup to linux rust wrapper