Fix dependencies so that SeasideCache can be extracted to a separate library