Fix a few compile warnings (turned errors) and disable -Werror on the