Make rlib as well as dylib