Fixed some linux/gcc-specific compilation errors for byte_array tests