There's another angle to this. If you categorize the service by the library as attracting people or businesses to a low- or moderate-income tract or underserved/distressed tract, then you don't need to prove that the majority of beneficiaries are LMI persons (which is required for affordable housing, community services and economic development, but not for revitalization/stabilization). I would think a library would qualify as offering a service that does attract people (regardless of income class) to an economically depressed area.
_________________________
CRA Exam Preparation, CRA Performance Evaluations, Key Performance Benchmarks, & maps