build: Fix test library build

Apparently my build environment *wasn’t* clean when I tested the stuff I
pushed at the weekend, even though I definitely cleaned it a few times.
Aaargh.

https://bugzilla.gnome.org/show_bug.cgi?id=724591