Fix macos free_memory calculate by using vm_stat (#82)