Pin dependencies to work in 1.8 and 1.9