fixed build in freebsd amd64 broken in 9de26972cf