Charlotte's Main Library campaign lands $1M gift