only pass cost-centre id to static initializers when prof is enabled