initial version 1.6 from Buntine
fixes to make it work on OS-X
Merge branch 'master' of github.com:renaud/libstb