Fixed statistics for FreeBSD

By default it would try to compile the windows code, since the TRI_HAVE_MACOS_MEM_STATS doesn't cover BSD's.
Merge pull request #1125 from threez/patch-2

Fixed statistics for FreeBSD