Minor fixes for compilation under linux
- changed order of libClassification in CMakelists
- cmake hdf5 searching now the same in every project