fix build on freebsd 9.2 64