Add support to Boto library < 2.5.0