Define a static variable to fix debug mode crash.

Fixes #404 - Missing static variable definition crashes DFHack compiled in debug mode