fix linux dmd errors