Modify mk files