add configuration for mac and linux