Library sets record for summer circulation