Improved the CMake check for float/double format. (Intel compiler support)