vala: attempt to fix build for FreeBSD