fix device.mk