join all externs into a single lib