fix test for HAVE_THUMBBUTTON
Merge pull request #218 from TheOneRing/fix-thumb-test

fix test for HAVE_THUMBBUTTON