Add compatibility fixes for innodb optimalisations on EL6

Change-Id: I17c4e2f6e05f00afcc8fbd67cb094576aec1f904
Closes-Bug: rhbz#1078999