correct build make files for mixed (exe + dll ) projects