[BUGFIX] DI fails with CompilerDefinition; solves #5738 - Test - trailing spaces removed