Fix assert library linking

I think this should fix #90.