Make sure dt is defined

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>