compile on Mac