change app config when building mac platform