Fixing some warnings that are breaking the Jenkins build