media: Only build when no variant is set