Detect debug builds not by name but its property

If another build type which is initialized with debug is added,
it also should be treated as debug build.