added some cross-platform config