bugfix IFDEFINE MSDOS

resolve conflict between fpc & dos.