build: Add support for disable SET_METADATA