build: fix namespace cleanup for pmdaroot API names