compile for OS X