Fix post build events for shared JS libs, TypeScript 1.3 fixes