Fix dependencies to make Jenkins JJB work