Updating build.sh based on KRuntime changes
Fix test now that ServiceProvider throws a generic exception

aspnet/DependencyInjection#87
Use GetServiceOrDefault for optional dependency