Update build distribution
Fix typescript obsolete options