Get the current (debug | release).
specified_configs=$$find(CONFIG, "\b(debug|release)\b")
build_subdir=$$last(specified_configs)
(May be multiple, so keep only last specified in the build):
Use it has the build subdir name
DESTDIR = $$PWD/build/$$build_subdir