Fix maptrie being built twice