Unfortunately there is no way around this. In the last iteration of the AIP Handbook, the distance was based on the design group of the taxiway or taxilane running past the hangar or building in question (22 or 40 feet depending on Group I or II if I remember right). Then they changed it to 50...