put mt/md on the right build line