Added make_dylib function for making .dylib for user. Also added example of using this feature