Add conditional to check if we need to build the dtb files

Signed-off-by: Alejandro Mery <amery@geeks.cl>