Fix speed issues with chunk loading under Linux