Reorder sequence in CMakeFiles.txt

Initialize submodules before checking third party libraries.
Merge pull request #362 from mhamrle/cmake_reorder

Reorder sequence in CMakeFiles.txt