make the config setting compatiable with both windows & linux