replace %prefix% with __PREFIX__