Several fixes for warnings that show up in newer GCC versions. 
15 files changed