add missing externs