fix  #200 'keywords must be strings' error on OSX < 10.7 (with python < 2.6.6)