Fix build failure with clang (undefined symbols) by specifying gnu89
mode, for whose inline semantics this code was written.
Build using the right -arch flags and add universal variant.
Simplify destroot phase.
Modernize checksums.
Remove nonstandard vim directives.