Fix missing metadata library