Compile fix for freebsd 9.2