Fixed to compile under Linux with intel.
Added cmake files to src distribution.