Replace static with const to fix build errors