Fixes chunk size for linux vs darwin