Foundation donates to library expansion