CMake is used for static builds because the Makefile does not offer a way to disable the shared library.