Fix for int64 values on FreeBSD >=9.x

Fix for int64 values on FreeBSD >=9.x