Make it compile on OS X