Clean up the device.mk