Allows Sequential Compilation in DebugMode

Allows CompileInParallelWithNoOfThreads = 0 (sequential compilation) in
DebugMode. Default behavior is still preserved.