Small fixes for linux agent warnings