Fix compilation

Doesn't pass 'make check' yet, though, but hey.