Clang compiler would fail boost shared_dynamic_cast test because of incorrect main arguments in CMake.