Fix ag detection in PATH
Fix more compile warnings in helm