Fix ZTS build
Fix in_array (strict) with references
Fix parts of .gdbinit