Export DEBUG_BUILD and V

The headline says it all. This was already done in engine.git which had its
private version of this from pre-submodule times, now found it and imported
to the global project.