fix linux/mac diff config problem