Swamp Quicksand

I have 3 of the 4 pieces of the map - the 4th is thru the quicksand. I go down there, find the dynamite but don't know how to ignite it (the only way to get out?) Have tried the Swamp fairy's "fire finger" but they won't even light up as usable items. Help!!!
Spoiler: show