Fix for FreeBSD - it needs macro to get integer types