Added FreeBSD section to check_mem.pl