Replaced CHAR_BIT wih std::limits
Implemented linux OS functionality