Add curl, freetype and luaJIT to CMAKE_BUILD_INFO