add TRANSIT_DEV flag so that we can freely add more assertions that will
be eliminated from production builds