test dylib on mac