Add external dependencies.
Add build configurations for CMake.