Fix DOS compilation