Changed config.h to work with MAC OS