Minor fixes to DebugLabels code

More flexible compilation checks.

Renamed script to use .inc extension.