fix make error on Mac OS