Fixed some mistakes in the CMake module for float types.

Fixed some mistakes I made in #399.