Write Read Long ambiguity on Windows/Mac and Linux

Created by: williamfgc

Tests fail since long is 4 bytes on Mac and Windows, while 8 on Linux (int8_t is mapped to long in the latest)