Fix trailing comma in poco and freeimage configuration.