Handle incremental builds nicer when there's no license to build debug builds.
We will log a warning and switch to release builds instead.