Fix capybara dependencies