Fixing build so it fails only if warnings are on 2.11 version