Building through CMake instead of automake