fix up metadata for building