need to make dylib as well as rlib