Changed lib attribute to dylib