Added <sstream> to headers.h and there is now a working build for reading in the magic number.