[packaging] Verify yaml version at build time

Signed-off-by: Matti Kosola <matti.kosola@jollamobile.com>