dia: fix build