link math libraries