merge several settings for linux/mac