linux build fix; typo; inline fix