Renamed PI to B2_PI to avoid name collision in other libraries