Better vendoring of libraries for examples

Would this be a better way to vendor libraries for the examples?