linux build updates & warnings

merge