clean up device.mk