County to replace fairgrounds pavilion