Backport patches to tdevelop to resolve FTBFS. Switch tdesdk to CMake. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>