Fixes to byte array.

- fixed compilation error due to missing header
- added operator==