fix failed travis test with cloudstack on ruby 1.8.7