updating libraries

This includes several fixes to fix errors for the 0.9.5 beta of TypeScript