Fix FreeBSD build errors (again)
not sure how this happened, but !2071 (merged) still left the FreeBSD build broken, and also had runtime issues by always reporting 0 bytes available in memory when running memfree
. this time i've double checked, and now it should work.