some missing defines

used in snap building