Fixes dependency conflict in PhantomJS

PhantomJS broke the dependency chain (again!). This should fix it.