Rename libmetapkg to libmeta and other fixes