updated tsbuild to use options dictionary