Adds version var to library