Fix inline statement not working in FreeBSD