fix end-to-end test on OSX

DSOs are .dylib on OSX so dyld would fail trying to insert libear.