Fix adapter spec on OS X