fix linux compile warning.