fix many typos that were introduced by poor search-and-replace; be more consistent about refering to Julia-defined C-based types for system independence