improved configuration to be compatible among linux and windows