Fix compiler error about initializing const with default null

For me the compiler complained here. Adding extern fixed it.