The CMake checks for long long and long double now set the correct variable.
Added constant values for configure definitions.
Corrected the compile test state variables.