[FIX] replaced DoubleReal and Real by double and float.

Also fixed some header files missing from the cmake include.