get moon to compile (but segfault) on OS X.