Fixed some mistakes in the CMake module for float types.