Fairgrounds to get new building