scgilib compile on Darwin