Fix dylib tests