The Nigeria investments come as early-stage startups continue to face a difficult funding environment.