Changed to compile into dylib/rlib.