Attempt to fix travis builds on older ruby versions