efforts to remove compile warnings on MacOS 10.9

(1) remove dependence on lib pthread from configure.ac
(2) add stamp-h1 to .gitignore
(3) remove if cond (k >= 0) in test_insert_and_find since k is unsigned