fixed path and batch-file issue on windows systems (see MO-214)