Added Data::BINARY and compile fixes for non MacOSX platforms