Link against the right stdlib.