Fix some missing externs