Preventing duplicate objects error in ByteArray.h

Compiling on OSX creates duplicate versions of OpenRead.