typo fixes for lib, ext & dist