Added a CMake check for the size of long.