Library close to reaching goal for new building