Fix linkedit error on OS X