Supporting dylib and dll as binary gem extensions