linux build fixes

linux fixes