Fixed an error which started showing up in boost 1.54 on os x
update API
fix compile crash
fixes #39
add a .gitignore