Public invited to library’s 40th anniversary party