Added retries to ctest_submit commands for Exper builds.
Fixed bug in CMake module.