Revert "Use CMake command instead of old external project definition"

This reverts commit 1aea64ae23625f01e92ff7625ad7d0aaf073ee37.