Fix overlay problems: missing metadata, missing patches for opencv, etc.