County to purchase office building for $1.25 million