Compilation for OS X