Clean up device.mk