Pakistan building border fence with Afghanistan: officials