Fix missing externs